let setting = {}
setting.pie = {
    /*标题*/
    title: {
        top: 8,
        text: "标题啊啊啊",
    },
    /*设置图像位置*/
    grid : {
        top : 40,    //距离容器上边界40像素
        bottom: 30,   //距离容器下边界30像素
    },
    tooltip: {
        trigger: 'item',
        formatter: '{a} <br/>{b} : {c} ({d}%)'
    },
    legend: {
        left: 'center',
        bottom: '10',
        data: ['产业', '技术', '外汇', '黄金', '展望'],
        // orient: 'vertical',  //垂直显示
        // y: 'center',    //延Y轴居中
        // x: 'right', //居右显示
    },
    series: [
        {
            name: 'WEEKLY WRITE ARTICLES',
            type: 'pie',
            roseType: 'radius',
            radius: [15, 95],
            center: ['50%', '38%'],
            data: [
                { value: 320, name: '产业' },
                { value: 240, name: '技术' },
                { value: 149, name: '外汇' },
                { value: 100, name: '黄金' },
                { value: 59, name: '展望' }
            ],
            animationEasing: 'cubicInOut',
            animationDuration: 2600
        }
    ]
}
export default setting;
